<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="EventManager.js"></script>

</head>
<body>
<p>sdfdsf</p>
<script type="text/javascript">
	var el = document.getElementsByTagName('p')[0];
	function f1(e){
		alert(this.a);
	}
	
	function f2(){
		alert(2);
	}
	function f3(e){
		alert(3);
	}
	var obj = {
		click : f1,
		mouseover : f2
	};
	EventManager.on(el,'click',1,{a:4});
//	EventManager.on(el,'click',f3);
//	EventManager.un(el,'click')
</script>
</body>
</html>
